[INFO] cloning repository https://github.com/euclio/apply-license
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/euclio/apply-license" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuclio%2Fapply-license", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuclio%2Fapply-license'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4636c950e834a3f85150782a79e6d2e52df516b4
[INFO] building euclio/apply-license against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feuclio%2Fapply-license" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/euclio/apply-license on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/euclio/apply-license
[INFO] finished tweaking git repo https://github.com/euclio/apply-license
[INFO] tweaked toml for git repo https://github.com/euclio/apply-license written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/euclio/apply-license already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded combine v3.3.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] afd77809929d4427403029a3139e0f77c3505f9af498eb22f4895330de25e4a5
[INFO] running `Command { std: "docker" "start" "-a" "afd77809929d4427403029a3139e0f77c3505f9af498eb22f4895330de25e4a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "afd77809929d4427403029a3139e0f77c3505f9af498eb22f4895330de25e4a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "afd77809929d4427403029a3139e0f77c3505f9af498eb22f4895330de25e4a5", kill_on_drop: false }`
[INFO] [stdout] afd77809929d4427403029a3139e0f77c3505f9af498eb22f4895330de25e4a5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] ea6bd3603d3fbccbe389e800a5681b8612ef7d517c4a5a6158177ef517feb293
[INFO] running `Command { std: "docker" "start" "-a" "ea6bd3603d3fbccbe389e800a5681b8612ef7d517c4a5a6158177ef517feb293", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.42
[INFO] [stderr]    Compiling cc v1.0.17
[INFO] [stderr]    Compiling serde v1.0.70
[INFO] [stderr]    Compiling cfg-if v0.1.4
[INFO] [stderr]    Compiling num-traits v0.2.5
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling rustc-demangle v0.1.8
[INFO] [stderr]    Compiling regex v1.0.1
[INFO] [stderr]    Compiling lazy_static v1.0.1
[INFO] [stderr]    Compiling ucd-util v0.1.1
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling either v1.5.0
[INFO] [stderr]    Compiling pest v1.0.6
[INFO] [stderr]    Compiling quick-error v1.2.2
[INFO] [stderr]    Compiling proc-macro2 v0.4.6
[INFO] [stderr]    Compiling syn v0.11.11
[INFO] [stderr]    Compiling log v0.4.3
[INFO] [stderr]    Compiling textwrap v0.10.0
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling regex-syntax v0.6.1
[INFO] [stderr]    Compiling quote v0.6.3
[INFO] [stderr]    Compiling syn v0.14.4
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling atty v0.2.10
[INFO] [stderr]    Compiling time v0.1.40
[INFO] [stderr]    Compiling clap v2.32.0
[INFO] [stderr]    Compiling aho-corasick v0.6.5
[INFO] [stderr]    Compiling combine v3.3.6
[INFO] [stderr]    Compiling backtrace-sys v0.1.23
[INFO] [stderr]    Compiling synstructure v0.6.1
[INFO] [stderr]    Compiling chrono v0.4.4
[INFO] [stderr]    Compiling backtrace v0.3.9
[INFO] [stderr]    Compiling pest_derive v1.0.7
[INFO] [stderr]    Compiling failure_derive v0.1.1
[INFO] [stderr]    Compiling error-chain v0.11.0
[INFO] [stderr]    Compiling failure v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.70
[INFO] [stderr]    Compiling structopt-derive v0.2.10
[INFO] [stderr]    Compiling serde_json v1.0.22
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling toml v0.4.6
[INFO] [stderr]    Compiling structopt v0.2.10
[INFO] [stderr]    Compiling toml_edit v0.1.3
[INFO] [stderr]    Compiling handlebars v0.32.4
[INFO] [stdout] error[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.3/src/index.rs:55:65
[INFO] [stdout]    |
[INFO] [stdout] 44 |       fn index_or_insert<'v>(&self, v: &'v mut Item) -> &'v mut Item {
[INFO] [stdout]    |                          -- lifetime `'v` defined here
[INFO] [stdout] 45 | /         match *v {
[INFO] [stdout] 46 | |             Item::ArrayOfTables(ref mut vec) => {
[INFO] [stdout] 47 | |                 vec.values.get_mut(*self).expect("index out of bounds")
[INFO] [stdout] 48 | |             }
[INFO] [stdout] 49 | |             Item::Value(ref mut a) if a.is_array() => a
[INFO] [stdout]    | |                         --------- mutable borrow occurs here
[INFO] [stdout] ...  |
[INFO] [stdout] 55 | |             _ => panic!("cannot access index {} in {:?}", self, v),
[INFO] [stdout]    | |                                                                 ^ immutable borrow occurs here
[INFO] [stdout] 56 | |         }
[INFO] [stdout]    | |_________- returning this value requires that `v.0` is borrowed for `'v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.3/src/index.rs:88:63
[INFO] [stdout]    |
[INFO] [stdout] 70 |       fn index_or_insert<'v>(&self, v: &'v mut Item) -> &'v mut Item {
[INFO] [stdout]    |                          -- lifetime `'v` defined here
[INFO] [stdout] ...
[INFO] [stdout] 77 | /         match *v {
[INFO] [stdout] 78 | |             Item::Table(ref mut t) => t.entry(self).or_insert(Item::None),
[INFO] [stdout] 79 | |             Item::Value(ref mut v) if v.is_inline_table() => {
[INFO] [stdout]    | |                         --------- mutable borrow occurs here
[INFO] [stdout] 80 | |                 &mut v
[INFO] [stdout] ...  |
[INFO] [stdout] 88 | |             _ => panic!("cannot access key {} in {:?}", self, v),
[INFO] [stdout]    | |                                                               ^ immutable borrow occurs here
[INFO] [stdout] 89 | |         }
[INFO] [stdout]    | |_________- returning this value requires that `v.0` is borrowed for `'v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling cargo_metadata v0.5.8
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0502`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `toml_edit`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "ea6bd3603d3fbccbe389e800a5681b8612ef7d517c4a5a6158177ef517feb293", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea6bd3603d3fbccbe389e800a5681b8612ef7d517c4a5a6158177ef517feb293", kill_on_drop: false }`
[INFO] [stdout] ea6bd3603d3fbccbe389e800a5681b8612ef7d517c4a5a6158177ef517feb293
